package com.lanlian.commonlib.bean;

import java.io.Serializable;

/**
 * <pre>
 *     author : huxiaobo
 *     e-mail : huxiaobo@xlanlian.com
 *     date   : 2018/9/18 10:53
 *     desc   : 盈亏明细
 *     version: 1.0
 * </pre>
 */
public class PnlDetailsInfo implements Serializable {

    private Long lDealNo;//成交单号
    private String dDatetime;//成交时间
    private Double enOpenPrice;//开仓价
    private Double enClosedProfit;//本次盈亏
    private Integer lCloseAmount;//手数
    private Long lDetailId;//明细序号

    public Long getlDealNo() {
        return lDealNo;
    }

    public void setlDealNo(Long lDealNo) {
        this.lDealNo = lDealNo;
    }

    public String getdDatetime() {
        return dDatetime;
    }

    public void setdDatetime(String dDatetime) {
        this.dDatetime = dDatetime;
    }

    public Double getEnOpenPrice() {
        return enOpenPrice == null ? 0 : enOpenPrice;
    }

    public void setEnOpenPrice(Double enOpenPrice) {
        this.enOpenPrice = enOpenPrice;
    }

    public Double getEnClosedProfit() {
        return enClosedProfit;
    }

    public void setEnClosedProfit(Double enClosedProfit) {
        this.enClosedProfit = enClosedProfit;
    }

    public Integer getlCloseAmount() {
        return lCloseAmount;
    }

    public void setlCloseAmount(Integer lCloseAmount) {
        this.lCloseAmount = lCloseAmount;
    }

    public Long getlDetailId() {
        return lDetailId;
    }

    public void setlDetailId(Long lDetailId) {
        this.lDetailId = lDetailId;
    }
}
